/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fy.report.service;

import fy.report.manager.ZcFyReportManager;
import java.util.TimerTask;
import org.apache.commons.logging.LogFactory;

/**
 *
 * @author Administrator
 */
public class ZcReportService extends TimerTask {

    private static org.apache.commons.logging.Log log = LogFactory.getLog(ZcFyReportManager.class);

    @Override
    public void run() {
        try {
            log.info("_轮询报表状态");
            ZcFyReportManager.operate();
        } catch (Exception e) {
            e.printStackTrace();
            log.error("自定义报表状态轮询发生异常", e);
        }
    }
}
